//
//  HRHongGuanCell.m
//  Economical report
//
//  Created by wyzc on 16/6/24.
//  Copyright © 2016年 叶落知秋. All rights reserved.
//

#import "HRHongGuanCell.h"
#import "HRHongGuanModel.h"
#import "UIImageView+WebCache.h"
@interface HRHongGuanCell ()
@property (weak, nonatomic) IBOutlet UIImageView *imgView;
@property (weak, nonatomic) IBOutlet UILabel *titleLabel;

@property (weak, nonatomic) IBOutlet UILabel *timeLabel;


@end
@implementation HRHongGuanCell
-(void)setModel:(HRHongGuanModel *)model
{
    _model=model;
    self.titleLabel.text=model.title;
    self.timeLabel.text=model.updatetime;
    NSURL *url=[NSURL URLWithString:model.list_thumb];
    [self.imgView sd_setImageWithURL:url placeholderImage:nil];
    
    
}


- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
